﻿using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;

public class UnitPlot : MonoBehaviour 
{
    public int X, Z;
    [System.NonSerialized]
    public int gCost, hCost;
    public int fCost { get { return gCost + hCost; } }
    [System.NonSerialized]
    public UnitPlot parent;
    [System.NonSerialized]
    public bool isOccupy = false;


    // Start is called before the first frame update
    void Start()
    {

    }

    // Update is called once per frame
    void Update()
    {

    }



    public void SetCoordinate(int x, int z)
    {
        X = x;
        Z = z;
    }


    public void OnMouseDown()
    {

    }
}
